<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8">
    <link rel="icon" href="/favicon.ico">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Vite App</title>
    <link rel="stylesheet" href="https://a.amap.com/jsapi_demos/static/demo-center/css/demo-center.css"/>
  </head>
  <body>
    <div id="app"></div>
    <script type="module" src="/src/main.ts"></script>
    <!-- <script type="text/javascript" src="https://webapi.amap.com/maps?v=2.0&key=d7d12ba421394f509cdc82132a03fc94"></script> -->
    <script src="https://webapi.amap.com/loader.js"></script>
    <script type="text/javascript" >
      AMapLoader.load({
        key: "d7d12ba421394f509cdc82132a03fc94",       // 申请好的Web端开发者Key，首次调用 load 时必填
        version: "2.0",                 // 指定要加载的 JSAPI 的版本，缺省时默认为 1.4.15
        "plugins": ['AMap.Driving','AMap.AutoComplete','AMap.MoveAnimation'],           // 需要使用的的插件列表，如比例尺'AMap.Scale'等
      }).then((AMap)=>{
        // const map = new AMap.Map('container');
      }).catch((e)=>{
        console.error(e);  //加载错误提示
      });
    </script>
    <!-- <script src="https://cdn.jsdelivr.net/npm/echarts/map/js/china.js"></script> -->
  </body>
</html>
